package homework_2.tv;

/**
 * @author 朱
 * @date 2019031821:38
 */
public class TV {
    public String brand;
    public byte size;

    public TV(String brand, byte size) {
        this.brand = brand;
        this.size = size;
    }
    public TV(){}

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public byte getSize() {
        return size;
    }

    public void setSize(byte size) {
        this.size = size;
    }

    public void output(){
        System.out.println("电视机的品牌是"+brand+",电视机的大小是："+size);
    }
}
